package cn.stylefeng.guns.modular.basic.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

/**
 * <p>
 * 承运商档案
 * </p>
 * @author zhucx
 * @since 2022-12-29
 */
@TableName("basic_carrier")
@Data
public class BasicCarrier implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 项目id
     */
    @TableField("operate_id")
    private Long operateId;

    /**
     * 归属项目
     */
    @TableField("operate_name")
    private String operateName;

    /**
     * 单位编号
     */
    @TableField("carrier_number")
    private String carrierNumber;

    /**
     * 单位名称
     */
    @TableField("carrier_name")
    private String carrierName;

    /**
     * 类型
     */
    @TableField("types")
    private String types;

    /**
     * 简称
     */
    @TableField("abbreviation")
    private String abbreviation;

    /**
     * 城市
     */
    @TableField("city")
    private String city;

    /**
     * 许可证号
     */
    @TableField("xukezheng")
    private String xukezheng;

    /**
     * 经营范围
     */
    @TableField("business")
    private String business;

    /**
     * 法人代表
     */
    @TableField("legal")
    private String legal;

    /**
     * 联系人
     */
    @TableField("contacts")
    private String contacts;

    /**
     * 联系电话
     */
    @TableField("tel")
    private String tel;

    /**
     * 发证日期
     */
    @TableField("xukezhengfazhengriqi")
    private String xukezhengfazhengriqi;

    /**
     * 起始日期
     */
    @TableField("xukezhengqishiriqi")
    private String xukezhengqishiriqi;

    /**
     * 终止日期
     */
    @TableField("xukezhengzhongzhiriqi")
    private String xukezhengzhongzhiriqi;

    /**
     * 发证机关
     */
    @TableField("xukezhengfazhengjiguan")
    private String xukezhengfazhengjiguan;

    /**
     * 信用等级
     */
    @TableField("credit")
    private String credit;

    /**
     * 详细地址
     */
    @TableField("address")
    private String address;

    /**
     * 结算对象
     */
    @TableField("payee")
    private String payee;

    /**
     * 开户行
     */
    @TableField("bank")
    private String bank;

    /**
     * 开户地
     */
    @TableField("bank_address")
    private String bankAddress;

    /**
     * 银行账号
     */
    @TableField("bank_account")
    private String bankAccount;

    /**
     * 联行号
     */
    @TableField("bank_no")
    private String bankNo;

    /**
     * 结算周期
     */
    @TableField("cycle")
    private String cycle;

    /**
     * 税率
     */
    @TableField("tax_rate")
    private String taxRate;

    /**
     * 油卡号
     */
    @TableField("oil_card_number")
    private String oilCardNumber;

    /**
     * 备注
     */
    @TableField("notes")
    private String notes;

    /**
     * 法人照片id
     */
    @TableField("farenzhaopianfileid")
    private String farenzhaopianfileid;

    /**
     * 许可证id
     */
    @TableField("xukezhengfileid")
    private String xukezhengfileid;

    /**
     * 银行卡id
     */
    @TableField("yinhangkafileid")
    private String yinhangkafileid;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 创建人
     */
    @TableField(value = "create_user", fill = FieldFill.INSERT)
    private String createUser;

    /**
     * 修改人
     */
    @TableField(value = "update_user", fill = FieldFill.UPDATE)
    private String updateUser;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 交付客户id
     */
    @TableField("deliver_id")
    private Long deliverId;

    /**
     * v1
     */
    @TableField("v1")
    private String v1;

    /**
     * v2
     */
    @TableField("v2")
    private String v2;

    /**
     * 账号
     */
    @TableField("carrier_account")
    private String carrierAccount;

    /**
     * userId
     */
    @TableField("user_id")
    private Long userId;

    @Override
    public String toString() {
        return "BasicCarrier{" +
        "id=" + id +
        ", operateId=" + operateId +
        ", operateName=" + operateName +
        ", carrierNumber=" + carrierNumber +
        ", carrierName=" + carrierName +
        ", types=" + types +
        ", abbreviation=" + abbreviation +
        ", city=" + city +
        ", xukezheng=" + xukezheng +
        ", business=" + business +
        ", legal=" + legal +
        ", contacts=" + contacts +
        ", tel=" + tel +
        ", xukezhengfazhengriqi=" + xukezhengfazhengriqi +
        ", xukezhengqishiriqi=" + xukezhengqishiriqi +
        ", xukezhengzhongzhiriqi=" + xukezhengzhongzhiriqi +
        ", xukezhengfazhengjiguan=" + xukezhengfazhengjiguan +
        ", credit=" + credit +
        ", address=" + address +
        ", bank=" + bank +
        ", bankAddress=" + bankAddress +
        ", bankAccount=" + bankAccount +
        ", taxRate=" + taxRate +
        ", notes=" + notes +
        ", farenzhaopianfileid=" + farenzhaopianfileid +
        ", xukezhengfileid=" + xukezhengfileid +
        ", yinhangkafileid=" + yinhangkafileid +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", createUser=" + createUser +
        ", updateUser=" + updateUser +
        ", deptId=" + deptId +
        ", deliverId=" + deliverId +
        ", v1=" + v1 +
        ", v2=" + v2 +
        "}";
    }
}
